package com.itheima.reggie.service;


import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.itheima.reggie.dto.DishDto;
import com.itheima.reggie.entity.Dish;

/**
 * @author chm
 * @version 1.0.0 v
 * @date 2022-08-13 21:29
 */
public interface DishService extends IService<Dish> {
   public void saveWithFlavor(DishDto dishDto);

   void pageByParams(Page<DishDto> dishDtoPage, DishDto dishDto);

 public DishDto getByIdWithFlavor(Long id);

 public void updateWithFlavor(DishDto dishDto);
}
